// out: ../../../css/gis/fire/fire.css, compress: true, sourceMap: false
@img-url: "/core/images/gis/fire";
@main-color: #1E9FFF;

.scrollBar() {
    &::-webkit-scrollbar {
        /*滚动条整体样式*/

        width: 8px;
        /*高宽分别对应横竖滚动条的尺寸*/

        height: 0px;

    }

    &::-webkit-scrollbar-thumb {
        /*滚动条里面小方块*/

        border-radius: 8px;

        //  -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);

        background: rgba(0, 0, 0, .6);

    }

    &::-webkit-scrollbar-track {
        /*滚动条里面轨道*/

        // -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);

        border-radius: 8px;

        background: rgba(255, 255, 255, .5);

    }
}

.header-box {
    background: #fff;
    padding: 10px;
    border-bottom: 1px solid #ccc;
    text-align: center;
    display: flex;
    align-items: center;

    .logo {
        float: left;
        background: url("@{img-url}/logo.png") no-repeat;
        height: 40px;
        line-height: 40px;
        text-align: left;
        background-size: contain;
        font-size: 25px;
        padding: 0 0 0 45px;
        flex: 2;
        font-weight: bold;
    }

    .local-time-box {
        // display: inline-block;
        font-size: 14px;
        border-radius: 5px;
        background: @main-color;
        padding: 5px 10px;
        color: #fff;
        float: left;
    }

    .count-box {
        display: inline-block;
        font-size: 18px;
        flex: 5;

        li {
            display: inline-block;
            margin: 0 5px;

            span {
                background: #f00;
                color: #fff;
                font-weight: bold;
                padding: 0 10px;
                border-radius: 3px;
                margin: 0 3px;
            }
        }
    }

    .local-weather-box {
        // float: right;
        margin: 3px auto 0 auto;
        font-size: 14px;
        // align-self: flex-end;
        margin-left: auto;
        // flex: 2;
        flex-grow: 1;

        ul {
            display: flex;
            justify-content: flex-end;

            li {
                padding: 0 5px;

                img {
                    height: 40px;
                }

                p {
                    text-align: left;

                    label {
                        color: #666
                    }
                }
            }
        }
    }
}

.main-box {
    position: relative;

    .search_list {
        padding: 0;
    }

    .case-event-box {
        @width: 300px;
        border: 1px solid #ccc;
        background: #fff;
        position: absolute;
        top: 5px;
        left: 50%;
        z-index: 500;
        width: @width;
        margin-left: -@width/2;
        display: flex;
        padding: 10px;
        // border-radius: 0 0 10px 10px;
        border-radius: 10px;

        .label {
            display: flex;
            justify-items: center;
            align-items: center;
            font-size: 16px;
            font-weight: bold;
            padding: 0 5px;
        }
    }



    .float-left-box {
        position: absolute;
        z-index: 501;
        left: 10px;
        top: 10px;
        display: flex;
        flex-direction: column;
        // align-items: flex-start;
        height: calc(100% - 30px);
        width: 300px;

        .layui-card {
            display: flex;
            flex-direction: column;
            flex-grow: 1;

            .layui-card-body {
                flex: auto;
                display: flex;
                align-items: stretch;
                justify-content: center;
                flex-direction: column;
            }

            &:last-child {
                margin-bottom: 15px;
            }
        }

        .event-box {
            flex-grow: 0;
        }

        .left-box-main {
            // display: flex;
            flex-direction: column;
            flex-grow: 1;
            width: 100%;
            height: 100%;
            position: absolute;
            // border:1px solid #f00;
            box-sizing: border-box;
            overflow: auto;
            top: 0;
            bottom: 10px;
            // padding:0 10px 0 0;
            .scrollBar();

            .layui-card {
                display: flex;
                flex-direction: column;
                flex-grow: 1;

                .layui-card-body {
                    flex: auto;
                    display: flex;
                    align-items: stretch;
                    justify-content: flex-start;
                    flex-direction: column;
                }
            }
        }

        .jyll-box {
            width: 100%;

            ul {
                display: flex;
                flex-direction: row;
                justify-content: space-between;
                flex-direction: row;
                flex-wrap: wrap;

                li {
                    flex-grow: 1;
                    cursor: pointer;
                    padding: 8px 0;

                    p {
                        text-align: center;
                        padding: 4px 0;

                        .num {
                            font-size: 25px;
                            font-weight: bold;
                            color: #f00;
                            padding: 0 5px;
                        }
                    }
                }
            }
        }

        .jyll-box-two {
            ul {
                li {
                    width: 49%;
                }
            }
        }
    }

    #data-panel {
        overflow: hidden;
        height: 100%;
        position: relative;
        // display: flex;
        // overflow: auto;
    }

    // .layui-anim-up {
    //     -webkit-animation-name: layui-up;
    //     animation-name: layui-up
    // }

    // @-webkit-keyframes layui-upbit {
    //     from {
    //         -webkit-transform: translate3d(0, 30px, 0);
    //         opacity: .3
    //     }

    //     to {
    //         -webkit-transform: translate3d(0, 0, 0);
    //         opacity: 1
    //     }
    // }

    // @keyframes layui-upbit {
    //     from {
    //         transform: translate3d(0, 30px, 0);
    //         opacity: .3
    //     }

    //     to {
    //         transform: translate3d(0, 0, 0);
    //         opacity: 1
    //     }
    // }

    // .layui-anim-upbit {
    //     -webkit-animation-name: layui-upbit;
    //     animation-name: layui-upbit
    // }
    @panel-move-width: 500px;

    .panel-hide {
        animation: move-rl 1s;
        left: -@panel-move-width;
    }

    .panel-show {
        animation: move-lr 1s;
    }

    .panel-show-right {
        animation: move-right-rl 1s;
    }

    .panel-hide-right {
        animation: move-right-lr 1s;
        right: -@panel-move-width;
    }

    @keyframes move-lr {
        0% {
            left: -@panel-move-width;
        }

        50% {
            left: 0px;
        }
    }

    @keyframes move-rl {
        0% {
            left: 0px;
        }

        50% {
            left: -@panel-move-width;
        }
    }

    @keyframes move-right-lr {
        0% {
            right: 0px;
        }

        50% {
            right: -@panel-move-width;
        }
    }

    @keyframes move-right-rl {
        0% {
            right: -@panel-move-width;
        }

        50% {
            right: 0px;
        }
    }

    .float-bottom-box {
        @size: 70px;
        // width: 500px;
        position: absolute;
        bottom: 10px;
        // border: 1px solid #f00;
        left: 50%;
        z-index: 500;
        // background: #fff;
        margin-left: -(@size+5)*5/2;

        ul {
            font-size: 0;
            display: flex;
            flex-direction: row;

            li {
                position: relative;

                &.hover,
                &:hover {
                    &>a {
                        background: @main-color;
                        color: #fff;
                    }
                }

                &>a {
                    font-size: 14px;
                    display: inline-block;
                    // border: 1px solid #ccc;
                    border-radius: 4px;
                    width: @size;
                    height: @size;
                    margin: 0 6px 0 0;
                    background: #fff;
                    display: flex;
                    flex-direction: column;
                    position: relative;

                    p {
                        text-align: center;
                        flex-grow: 1;
                        display: flex;
                        align-items: center;
                        justify-content: center;

                        &.icon {
                            padding: 6px 0 0 0;

                            i {
                                font-size: 25px;
                            }
                        }

                        &.text {
                            padding: 2px 0;
                        }
                    }



                }

                & .smenu {
                    position: absolute;
                    // top: -70px;
                    bottom: 70px;
                    left: 0;
                    font-size: 14px;
                    width: 70px;
                    box-sizing: border-box;
                    background: #fff;
                    border-radius: 4px;
                    display: none;

                    a {
                        display: block;
                        text-align: center;
                        padding: 8px 0;
                        border-bottom: 1px solid #f1f1f1;

                        &.hover,
                        &:hover {
                            background: lighten(@main-color, 10%);
                            color: #fff;
                        }

                    }
                }

                &:hover {
                    .smenu {
                        display: block;
                    }
                }
            }
        }
    }
}

.layui-form-select {
    .layui-input {
        border: 2px solid @main-color;
        border-radius: 10px;
    }
}

.layui-card {
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);

    .layui-card-header {
        // background: @main-color;
        // background: linear-gradient(90deg, #0081ff, #1cbbb4);
        // color: #fff;
        font-weight: bold;
        padding: 0 0 0 20px;
        // display: flex;
        // justify-items: center;
        // align-items: center;

        &::before {
            position: absolute;
            content: "";
            width: 2px;
            height: 16px;
            background: #fff;
            left: 10px;
            top: 13px;
            // align-self: baseline
        }
    }
}

.zk-timeline {
    cursor: pointer;
    padding: 0;
    background: none;

    .layui-timeline {
        .layui-timeline-item {}

        .hov {

            & .layui-timeline-axis {
                background: #27982D;
            }
        }
    }
}

.zk-timeline-row {
    display: flex;
}

.big-font-list {
    font-size: 15px;
}

.tsrq_list {
    ul {
        li {
            border: 0;

            p {
                word-wrap: break-word;
            }
        }
    }
}

.event-info {
    cursor: pointer;
    padding: 5px;

    p {

        display: flex;

        label {
            white-space: nowrap;
            color: #666;
        }
    }
}

.event-show {
    position: absolute;
    top: 10px;
    // bottom:10px;
    right: 10px;
    width: 400px;
    z-index: 502;
    background: #fff;
    padding: 8px;
    overflow-x: hidden;
    // height:100%;
    max-height: calc(100% - 40px);

    &>div {
        position: relative;
        // background: #fff;
    }

    .scrollBar();

    // height: calc(100% - 30px);
    .event-btn-close {
        @btn-size: 24px;
        width: @btn-size;
        height: @btn-size;
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: -8px;
        right: -5px;
        z-index: 99;
        border: 1px solid #ccc;
        background: #fff;
        border-radius: 50%;
        line-height: 100%;
        cursor: pointer;
        font-family: Verdana, Geneva, Tahoma, sans-serif;
    }
}

.fire-table-list {
    img {
        max-width: 150px;
    }

    .fire-table-main {
        ul {
            li {
                padding: 5px 0;
                display: flex;
                align-items: center;

                // justify-content: center;

                label {
                    color: #666;
                    white-space: nowrap;
                    padding: 0 8px 0 0;
                }

                span {
                    color: #000;
                    word-break: break-all;
                }
            }
        }
    }
}

.panel-title {
    font-size: 16px;
    font-weight: bold;
    padding: 8px 0;
}

.fire-slider-box {
    display: flex;
    background: rgba(255, 255, 255, .8);
    margin: 0 0 10px 0;

    .slider-name {
        display: flex;
        font-size: 16px;
        font-weight: bold;
        align-items: center;
        padding: 0 10px;
    }

    .fire-slider {
        padding: 20px 20px;

        flex-grow: 1;
        position: relative;

        .layui-slider-input {
            top: 6px;
            right: 8px;
        }
    }
}

.fire-note {
    padding: 10px;

    .fire-note-main {
        margin: 10px 0;
    }
}

@stepDotSize: 16px;
@stepBorderColor: #5FB878;

.zku-step-box {
    position: relative;
    padding:10px 0;
    ul {
        font-size: 0;
        display: flex;
        justify-content: flex-start;
        li {


            display: inline-block;
            padding: 0 15px;
            position: relative;
            font-size: 12px;
            cursor: pointer;

            &:first-child:before {
                left: 50%;
            }

            &:last-child:before {
                width: 50%;
            }

            &::before {
                content: '';
                position: absolute;
                left: 5px;
                top: @stepDotSize/2;
                z-index: 0;
                width: 100%;
                height: 1px;
                background-color: @stepBorderColor;
            }

            p {
                z-index: 99;
                text-align: center;

                span {
                    &.icon {
                        position: relative;
                        border: 1px solid @stepBorderColor;

                        border-radius: 50%;
                        width: @stepDotSize;
                        height: @stepDotSize;
                        display: inline-block;
                        background: darken(@stepBorderColor, 20%);
                    }

                    &.text {
                        font-size: 14px;
                    }
                }
            }

            &.hover {
                p {
                    .icon {
                        background: #fff;

                    }

                    .text {
                        color: #333;
                    }
                }
            }

            &.date {
                display: flex;
                align-items: center;
                font-size: 16px;
                font-weight: bold;

                &::before {
                    background: none;
                }
            }
        }
    }
}

// layui-form
.layui-form {
    .layui-form-item {
        .layui-input-block {
            display: flex;
            align-items: center;
        }
    }
}

.form-img-list {
    ul {
        display: flex;
        flex-wrap: wrap;

        li {
            margin: 0 8px 8px 0;
            img {
                height: 80px;
                border: 1px solid #ccc;
                padding: 3px;
            }
        }
    }
}